﻿using System.Configuration;

namespace Web.Components
{
    public static class WebSite
    {
        private static readonly string MainDomain = ConfigurationManager.AppSettings["MainDomain"];
        public static string Main { get { return string.Format("http://{0}.{1}", "www", MainDomain); } }
        public static string Cart { get { return string.Format("http://{0}.{1}", "cart", MainDomain); } }
        public static string Item { get { return string.Format("http://{0}.{1}", "item", MainDomain); } }
        public static string Static { get { return string.Format("http://{0}.{1}", "static", MainDomain); } }
        public static string Passport { get { return string.Format("http://{0}.{1}", "passport", MainDomain); } }
    }
}